<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>教师信息添加</title>
</head>
<body>
<!--banner-->
<jsp:include page="/manager/common/head.jsp"></jsp:include>
<!--内容-->
<div class="container">
    <ol class="breadcrumb">
        <li><a href="${pageContext.request.contextPath}/m/main">首页</a>
        </li>
        <li class="active">添加教师信息</li>
    </ol>
    <div class="row">
        <div class="col-md-8 col-md-offset-2">
            <form class="form-horizontal" action="${pageContext.request.contextPath}/m/saveTeacher">

                <div class="form-group">
                    <label for="teacherId" class="col-sm-2 control-label">教师工号</label>
                    <div class="col-sm-10">
                        <input name="teacherId" type="text" class="form-control" id="teacherId" placeholder="140400">
                    </div>
                </div>
                <div class="form-group">
                    <label for="name" class="col-sm-2 control-label">姓名</label>
                    <div class="col-sm-10">
                        <input name="name" type="text" class="form-control" id="name" placeholder="孟浩然">
                    </div>
                </div>
                <div class="form-group">
                    <label for="password" class="col-sm-2 control-label">密码</label>
                    <div class="col-sm-10">
                        <input name="password" type="password" class="form-control" id="password" placeholder="Password">
                    </div>
                </div>
                <div class="form-group">
                    <label class="radio-inline">
                        <input type="radio" name="gender" id="radio1" value="男" checked> 男
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="gender" id="radio2" value="女"> 女
                    </label>

                </div>
                <div class="form-group">
                    <label for="position" class="col-sm-2 control-label">职称</label>
                    <div class="col-sm-10">
                        <input name="position" type="text" class="form-control" id="position" placeholder="教授">
                    </div>
                </div>
                <div class="form-group">
                    <label for="office" class="col-sm-2 control-label">教研室</label>
                    <div class="col-sm-10">
                        <input name="office" type="text" class="form-control" id="office" placeholder="软件工程教研室">
                    </div>
                </div>

                <button type="submit" class="btn btn-success col-sm-2 col-sm-offset-2" >保存</button>
            </form>

        </div>
    </div>
</div>
</body>
</html>
